home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d4 / intrig20.arc / LOCALDOR.ARC / LOCALDOR.DOC next >
Text File  |  1991-04-06  |  1KB  |  28 lines

  1.                                LOCALDOR
  2.                        AN EXECUTIVE HOST UTILITY
  3.                             By John Wright
  4.  
  5.      Localdor.exe tests the dorinfo1.def file for local logon status.
  6.      It then returns an errorlevel that the SysOp may use to make
  7.      decisions in his/her door batch files.  Errorlevel 1 is returned
  8.      if a local logon is detected.  If the logon is from remote, an
  9.      errorlevel of 0 is returned.  You may use this test to modify
  10.      your door batch files as shown below.  This will allow you to run
  11.      doors locally that require external carrier watch, since the carrier
  12.      watch programs will only be run for remote callers.
  13.  
  14. Example batch file for localdor.exe:
  15.  
  16. localdor.exe                      <---  This is the important part, as it
  17. if errorlevel == 0 watchdg1 on    <---  decides whether to watch carrier.
  18. cd \telix\overkill
  19. ooii 1
  20. cd \telix
  21. local
  22. watchdg1 off                      <---  No test is necessary here.
  23.  
  24. Change your batch files as shown below and you are now able to run all of
  25. your doors from local, without having to worry about the system rebooting.
  26.  
  27. Enjoy Localdor and Executive Host!  --  John Wright
  28.